/**
 * Sangame.com Inc.
 * Copyright (c) 2006-2011 All Rights Reserved.
 */
package com.nmp.persistence.entity;

import javax.persistence.Table;

/**
 * 用户访问日志，跟踪微博转化率
 * @author defier.lai
 * 2011-12-18 下午03:09:55
 * @version 1.0
 */
@Table(name="nmp_visit_logs")
public class VisitLog extends TenantEntity {

	/** 访问URL **/
	private String visitUrl;
	/** 产品ID **/
	private String productId;
	/** 访问来源URL **/
	private String sourceUrl;
	/** 登录用户名 **/
	private String visitIp;
	/** 浏览器类型 **/
	private String browserType;
	/** 来源帐户类型，0:应用注册用户,1:淘宝,2:新浪微博,3:腾讯微博 **/
	private int accountType;
	/** 来源帐户关联的Id,不同类型去不同 表中查询详细信息 **/
	private long accountId;
	
	
	public String getVisitUrl() {
		return visitUrl;
	}
	public void setVisitUrl(String visitUrl) {
		this.visitUrl = visitUrl;
	}
	public String getProductId() {
		return productId;
	}
	public void setProductId(String productId) {
		this.productId = productId;
	}
	public String getSourceUrl() {
		return sourceUrl;
	}
	public void setSourceUrl(String sourceUrl) {
		this.sourceUrl = sourceUrl;
	}
	public String getVisitIp() {
		return visitIp;
	}
	public void setVisitIp(String visitIp) {
		this.visitIp = visitIp;
	}
	public String getBrowserType() {
		return browserType;
	}
	public void setBrowserType(String browserType) {
		this.browserType = browserType;
	}
	public int getAccountType() {
		return accountType;
	}
	public void setAccountType(int accountType) {
		this.accountType = accountType;
	}
	public long getAccountId() {
		return accountId;
	}
	public void setAccountId(long accountId) {
		this.accountId = accountId;
	}
	
}
